const orderRouter = {
  path: '/order',
  name: 'Order',
  meta: {
    title: '工单中心',
    icon: ''
  },
  children: [
    {
      path: 'summary',
      name: 'OrderSummary',
      component: () => import('@/views/order/summary.vue'),
      meta: {
        title: '工单汇总',
        icon: ''
      },
      children: [
        {
          path: 'detail',
          name: 'OrderSummaryDetail',
          component: () => import('@/views/order/detail.vue'),
          meta: {
            title: '工单详情',
            icon: ''
          }
        }
      ]
    },
    {
      path: 'issue',
      name: 'OrderIssue',
      component: () => import('@/views/order/issue.vue'),
      meta: {
        title: '发布工单',
        icon: ''
      }
    },
    {
      path: 'menu2',
      name: 'menu2',
      meta: {
        title: 'menu2'
      },
      children: [
        {
          path: 'menu2-1',
          name: 'menu2-1',
          meta: {
            title: 'menu21'
          },
          children: [
            {
              path: 'menu2-1-1',
              name: 'menu2-1-1',
              meta: {
                title: 'menu211'
              },
              component: () => import('@/views/order/detail.vue')
            }
          ]
        },
        {
          path: 'issue',
          name: 'OrderIssue',
          component: () => import('@/views/order/issue.vue'),
          meta: {
            title: '发布工单',
            icon: ''
          }
        }
      ]
    }
  ]
}

export default orderRouter
